﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Zeleznica1.ascx.cs" Inherits="ProjectWithAccess.Zeleznica1" %>



<style type="text/css">
 .panel5
{
    background-image: url('../Sliki/PozadinaNaKontrola.gif');
    width:65px;
    height:71px;
    padding-top:63px;
    padding-left: 10px;
}
.panelIgrac
{
    background-color: #c3bdf9;
}


.panelSopstvenik
{
    background-color: #c3bdf9;
}
 .style1
    {
        width: 102%;
    }
    .style2
    {
        text-align: right;
        }
      .style3
    {
        width: 135px;
        padding-top:50px;
    }


    .style4
    {
        text-align: right;
        width: 155px;
        height: 24px;
    }
    .style5
    {
        width: 135px;
        height: 24px;
        padding-top:20px;
    }
    .style6
    {
        text-align: right;
        width: 155px;
        height: 60px;
    }
    .style7
    {
        width: 135px;
        height: 60px;
         padding-top:20px;
    }
    .style8
    {
         width: 135px;
    }


    .style9
    {
        width: 100%;
    }
    .style12
    {
        text-align: right;
        width: 117px;
        height: 23px;
    }
    .style13
    {
        height: 23px;
    }
    

    .style14
    {
        text-align: right;
        width: 109px;
    }
    .style15
    {
        text-align: right;
        width: 117px;
    }
    .namestyle
    {
       font-size: 9pt;
    }
    

</style>
<asp:Panel ID="Panel1" runat="server" CssClass="panel5">
    <asp:Label ID="name" runat="server" CssClass="namestyle" Text="DefaultName"></asp:Label>
    <asp:ImageButton ID="ImageButton3" runat="server" 
        ImageUrl="~/Sliki/Sopstvenik.gif" onclick="ImageButton3_Click" />
        <asp:ImageButton ID="ImageButton1" runat="server" 
        ImageUrl="~/Sliki/Igrac.gif" onclick="ImageButton1_Click" />
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" CssClass="panelSopstvenik" Width="242px">
<table class="style1">
    <tr>
        <td class="style2">
            <asp:Label ID="Label9" runat="server" Text="Цена:"></asp:Label>
        </td>
        <td class="style13">
            <asp:Label ID="Label11" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label10" runat="server" Text="Состојба:"></asp:Label>
        </td>
        <td class="style13">
            <asp:Label ID="Label12" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label6" runat="server" 
                Text="Внеси продажна цена во полето или 0 ако не е на продажба:"></asp:Label>
        </td>
        <td class="style3">
            <asp:TextBox ID="TextBox1" runat="server" Text="" Width="102px" />
        </td>
    </tr>
    <tr>
        <td class="style4">
            <asp:Label ID="Label7" runat="server" Text="Овозможи патување:"></asp:Label>
        </td>
        <td class="style5">
            <asp:CheckBox ID="CheckBox1" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="style14" colspan="2">
            <asp:Label ID="Label5" runat="server" ForeColor="#333333"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Button ID="Button1" runat="server" Text="Сочувај" 
                onclick="Button1_Click" />
        </td>
        <td class="style8">
            <asp:Button ID="Button2" runat="server" Text="Назад" onclick="Button2_Click" />
        </td>
    </tr>
</table>

</asp:Panel>
<asp:Panel ID="Panel3" runat="server" CssClass="panelIgrac"  Width="242px">
    <table class="style9">
        <tr>
            <td class="style15">
                Цена на железницата:
            </td>
            <td>
                <asp:Label ID="Label1" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style12">
                Состојба:</td>
            <td class="style13">
                <asp:Label ID="Label2" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style15">
                Сопственик:</td>
            <td>
                <asp:Label ID="Label3" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style15">
                Купи ја железницата:</td>
            <td>
                <asp:Button ID="Button3" runat="server" Text="Купи" onclick="Button3_Click" />
            </td>
        </tr>
        <tr>
            <td class="style15">
                Избери дестинација:</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style14" colspan="2">
                <asp:Label ID="Label4" runat="server" style="text-align: left" 
                    ForeColor="#333333"></asp:Label>
                <br />
                <asp:Label ID="Label14" runat="server" ForeColor="#333333" 
                    style="text-align: left"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style15">
                &nbsp;</td>
            <td>
                <asp:Button ID="Button4" runat="server" Text="Назад" onclick="Button4_Click" />
            </td>
        </tr>
    </table>

</asp:Panel>

<asp:Label ID="Label13" runat="server"></asp:Label>


